CREATE OR REPLACE PACKAGE "kesplus_platform"."kes_plus_pkg_version" AUTHID CURRENT_USER AS
	PROCEDURE init_platform_version(platformVersion varchar);
	FUNCTION get_platform_version() RETURN varchar;
	PROCEDURE update_platform_version(platformVersion varchar);
	PROCEDURE update_app_version(appId varchar, appVersion varchar);
	PROCEDURE update_module_version(moduleCode varchar, moduleVersion varchar);
	FUNCTION get_current_version() RETURN JSON;
	FUNCTION get_app_version() RETURN TEXT;
	_PLATFORM_VERSION_KEY VARCHAR := 'kes_plus.platform_version';
END;

CREATE OR REPLACE PACKAGE BODY "kesplus_platform"."kes_plus_pkg_version" AS WRAPPED
Dslf5M5W4ZBF/36pYqXBktlKL8Q1xLBMsK0Zmt/k+vB6Mr5/Vbw+4iF6HVsW
g/RyKRh6AaMCwlJagfzoadhqODc9b0DudR5yqpSpzCigYEap577Q1nP5pvjd
Few/aGqARBXHrXjn8917YlK5hZoxK6FlU+sFHhZ5xHqq/mnUzKP/Wqrg4VlF
V9dejNfm0wB+0/I25EkQZCGawcMCELj9un7rEXqmsKQmQ4bUifxgOEXtxS5B
4wocB2OcXChidSWLyTB4LostjBf0V9BTGYzulTA4dyUospDmgdhxhEfAM6l8
jHi0WaYN2Bf+RBEH1BkBwO86zP9Z3T6cD4pmUTtx8fXgA+XOLu5Z9siKMMTK
/aoO8HTQ33NgaaNqKZGh4oOUKH7617cuwqTQHd3ssopoOhjJZpTyBA8myph9
1omXp5dnWQEn5t4znbLcW97C46Gj0DBXWvAG1TnHL7CXhQ4wEzfjhOPD8+Tm
Rlx4Sa/lCgF3KIy+sIVgwpg6tKXcjfD2OzlNHjIYJOtajsIa8e/6KJNw8lpk
kc5Tghk6W4oLrJx8M4gQxUIUnc9XZHu0BM70Owayz86pk0BRI362l5mAhEQf
K41mb8XfQZesGdmkHDM6sbSCV2JcBJXkOR4ANyTKQsBnbcNSgwz65wsutBam
1f3O5ivm9bHtMup5QstQ+1MbasGZXQw7R8KMWLSE7yaEtYQyFMRV2zcykNWw
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